<template>
	<view class="dispatcher">
		<view class="top">

		</view>
		<view class="con">
			<view class="con1">
				<input type="text" value="" placeholder="请输入账号" />
				<image src="../../static/img/name.jpg" mode=""></image>
			</view>
			<view class="line"></view>
			<view class="con1">
				<input type="text" value="" placeholder="请输入密码" />
				<image src="../../static/img/code.jpg" mode=""></image>
			</view>
			<view class="line"></view>
		</view>
		<view class="agree">
			<view class="">
				<u-checkbox-group @change="checkboxGroupChange">
					<u-checkbox @change="checkboxChange" v-model="checked"></u-checkbox>
				</u-checkbox-group>
			</view>
			<view class="">
				我已阅读并同意<text>《合作协议》</text>
			</view>
		</view>
		<view class="bottom">
			<view class="withdrawal">
				登录
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				checked:'',
			}
		},
		methods: {
			checkboxChange(e) {
				//console.log(e);
			},
			// 选中任一checkbox时，由checkbox-group触发
			checkboxGroupChange(e) {
				// console.log(e);
			},
		}
	}
</script>

<style scoped>
	.top {
		width: 100%;
		height: 440rpx;
		/* background-color: rgb(40, 166, 224); */
		background-image: url(../../static/img/bg.jpg);
		background-size: 100% 100%;
	}

	.con {
		width: 100%;
		height: 200rpx;
		margin-top: 25%;
	}

	.con1 {
		display: flex;
		flex-direction: row;
		padding-bottom: 4rpx;
		justify-content: center;
	}

	.con1 image {
		width: 40rpx;
		height: 40rpx;
	}

	.line {
		width: 60%;
		margin: 3% auto;
		border-bottom: 1px solid #C0C0C0;
	}

	.agree {
		display: flex;
		flex-direction: row;
		    justify-content: center;
		    margin-top: 30%;
	}
	.agree text{
		color: rgb(0,201,249);
	}
	.bottom{
		    margin: 0 auto;
		    width: 85%;
		    margin-top: 5%;
	}
	.withdrawal{
		width: 100%;
		height: 80rpx;
		border-radius: 20px;
		margin-bottom: 5%;
		text-align: center;
		padding-top: 12px;
		color: #FFFFFF;
		background-image: linear-gradient(to right, rgb(53,199,233) , rgb(30,141,255));
	}
</style>
